<!DOCTYPE html>

<html><!-- InstanceBegin template="/Templates/Template.dwt" codeOutsideHTMLIsLocked="false" -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Window-target" content="_top">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Mr. Lan</title>
    <!-- InstanceEndEditable -->
    <meta name="Author" contect="Mr. Lan">
	<meta name="Copyright" content="Mr. Lan">
	<meta name="keywords" content="个人博客,Mr. Lan" />
	<meta name="description" content="Mr. Lan，一个Golang/Python程序员的个人博客，记录博主学习和成长之路，分享Python/Golang方面技术和源码。" />
	<meta property="og:title" content="Mr. Lan" />
	<meta property="og:title" content="Mr. Lan 网站首页" />
	<meta property="og:type" content="个人博客" />
	<meta property="og:url" content="http://www.fdevops.com" />
	<meta property="og:image" content="http://www.fdevops.com/static/images/logo.png" />
	<meta property="og:site_name" content="www.fdevops.com" />
	<meta property="og:description" content="Mr. Lan，一个Golang/Python程序员的个人博客，记录博主学习和成长之路，分享Python/Golang方面技术和源码。" />
	<link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon" />
	<link href="../static/css/loading.css" rel="stylesheet" />
	<link href="../static/css/scroll-bar.css" rel="stylesheet" />
	<link href="../static/Eextend/layui/css/layui.css" rel="stylesheet" media="all" />
	<link href="../static/css/common.css" rel="stylesheet" />
	<link href="../static/css/suspension.css" rel="stylesheet" />
	<link href="../static/css/animate.css" rel="stylesheet" />
	<link href="../static/Eextend/iconfont/iconfont.css" rel="stylesheet" />
	<script src="../static/Eextend/iconfont/iconfont.js"></script>
	<script src="../static/js/jquery.min.js"></script>
	<script src="../static/Eextend/layui/layui.js"></script>
    <script src="/static/js/baiduStatistics.js"></script>

    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
      <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
      <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>
    <!--
               ▄              ▄
              ▌▒█           ▄▀▒▌
              ▌▒▒▀▄        ▀▒▒▒▐
             ▐▄▀▒▒▀▀▀▀▄▄▄▀▒▒▒▒▒▐
           ▄▄▀▒▒▒▒▒▒▒▒▒▒▒█▒▒▄█▒▐
         ▄▀▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒█▒▒▒▒▒▐
        ▐▒▒▒▄▄▄▒▒▒▒▒▒▒▒▒▒▒▒▒▀▄▒▒▌
        ▌▒▒▐▄█▀▒▒▒▒▄▀█▄▒▒▒▒▒▒▒█▒▐
       ▐▒▒▒▒▒▒▒▒▒▒▒▌██▀▒▒▒▒▒▒▒▒▀▄▌
       ▌▒▀▄██▄▒▒▒▒▒▒▒▒▒▒▒░░░░▒▒▒▒▌
       ▌▀▐▄█▄█▌▄▒▀▒▒▒▒▒▒░░░░░░▒▒▒▐
      ▐▒▀▐▀▐▀▒▒▄▄▒▄▒▒▒  typecho  ▒▌
      ▐▒▒▒▀▀▄▄▒▒▒▄▒▒▒▒▒▒░░░░░░▒▒▒▐
       ▌▒▒▒▒▒▒▀▀▀▒▒▒▒▒▒▒▒░░░░▒▒▒▒▌
       ▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▐
        ▀ yo-du ▒▒▒▒▒▒▒▒▒▒▒▄▒▒▒▒▌
          ▀▄▒▒▒▒▒▒▒▒▒▒▄▄▄▀▒▒▒▒▄▀
         ▐▀▒▀▄▄▄▄▄▄▀▀▀▒▒▒▒▒▄▄▀
        ▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▀▀

        --你好，世界！生活，从敲的第一行代码开始。
    -->
<div id="loading">
        <div id="loading-center">
            <div id="loading-center-absolute">
                <div class="object" id="object_four"></div>
                <div class="object" id="object_three"></div>
                <div class="object" id="object_two"></div>
                <div class="object" id="object_one"></div>
            </div>
        </div>
    </div>
    <header>
        <nav>
            <div class="logo">
              <a target='_blank' href="/blog/index">
                    <img src="../static/images/logo.png" oncontextmenu="return false;" ondragstart="return false;" />
                </a>
            </div>
            <!-- 汉堡菜单 -->
          <input type="checkbox" id="togglebox" />
            <ul>
                <li><a href="/blog/index" style="font-size: 16px">网站首页</a></li>
                <li><a href="/blog/list" style="font-size: 16px">文章列表</a></li>
                <li><a href="/blog/series" style="font-size: 16px">系列文章</a></li>
                <li style="border-bottom: 4px solid #5FB878 !important;"><a href="/blog/leave" style="font-size: 18px; color: #ffffff;">网友留言</a></li>
                <li><a href="/blog/site" style="font-size: 16px">站点地图</a></li>
            </ul>
          <label class="menu" for="togglebox">
                <i class="layui-icon layui-extend-hamburg-menu"></i>
            </label>
        </nav>
        <div class="clearfix"></div>
    </header>
    <section class="container">
		<!-- InstanceBeginEditable name="EditRegion1" -->
		
		<link href="../static/css/side-bar.css" rel="stylesheet" />
			<link href="../static/css/comment.css" rel="stylesheet" />
			<link href="../static/css/MessageBoard.css" rel="stylesheet" />
		
		<div class="message-board">
			<div class="layui-container">
				<div class="message-edit">
					<fieldset class="layui-elem-field layui-field-title wow fadeInLeftBig">
						<legend class="text-center">留言板</legend>
						<div class="layui-field-box">
							 <form class="layui-form blog-editor" lay-filter="formComment">
								<div class="layui-form-item">
									<textarea name="content" style="resize: none" rows="6" placeholder="请留下你的足迹" class="layui-textarea  blog-leave-comment"></textarea>
								</div>
								<div class="layui-form-item">
									<button type="button" onclick="aricleComment(0)" class="layui-btn" lay-submit lay-filter="formComment">提交留言</button>
								</div>
							</form>      
						</div>
					</fieldset>
				</div>
				<hr />
				<div class="message wow fadeInRightBig">  
					<!-- 评论列表 -->
                    <ul class="blog-comment">
                        {{ range .comment }}
                            {{ $CommentId := .Id }}
                            <li>
                                <div class="comment-parent">
                                    <a><img src="{{ .Avatar }}" alt="" /></a>
                                    <div class="info">
                                        <span class="username"><a>{{ .Nickname }}</a></span>
                                        {{ if ne .UserTitle "" }}
                                            <span class="layui-badge layui-bg-orange">
										{{ .UserTitle }}
									</span>
                                        {{ end }}
                                    </div>
                                    <div class="content comment-text">
                                        {{ .Content }}
                                    </div>
                                    <p class="info info-footer">
								<span class="aux-word">
									<i class="layui-icon layui-icon-log"></i>{{ .CreatedAt.Format "2006-01-02 15:04:05" }}
								</span>
                                        <span class="aux-word">
									<i class="layui-icon layui-extend-liulanqi"></i>{{ .Browser }}
								</span>
                                        <a class="btn-reply" href="javascript:;">回复</a>
                                    </p>
                                    <div class="replycontainer layui-hide">
                                        <form class="layui-form blog-editor" lay-filter="formReply">
                                            <textarea style="resize: none;" name="content" placeholder="请输入评论内容" id="comment-{{ .Id }}" class="layui-textarea"></textarea>
                                            <button type="button" class="layui-btn layui-btn-sm" onclick="addReply({{ .Id }}, {{ $CommentId }}, {{ .UserId }}, 'comment')" lay-submit lay-filter="formReply">提交</button>
                                        </form>
                                    </div>
                                </div>
                                <hr />
                                {{ range .ReplyList }}
                                    <div class="comment-child">
                                        <a><img src="{{ .SAvatar }}" alt="" /></a>
                                        <div class="info">
                                            <span class="username"><a>{{ .SNickname }}</a></span>
                                            {{ if ne .SUserTitle "" }}
                                                <span class="layui-badge layui-bg-orange">
										{{ .SUserTitle }}
									</span>
                                            {{ end }}
                                            <span>回复<a class="to-username">@{{ .DNickname }}</a>：</span>
                                            {{ if ne .DUserTitle "" }}
                                                <span class="layui-badge layui-bg-orange">
										{{ .DUserTitle }}
									</span>
                                            {{ end }}
                                            <span class="comment-text">{{ .Content }}</span>
                                        </div>
                                        <p class="info">
								<span class="aux-word">
									<i class="layui-icon layui-icon-log"></i>{{ .CreatedAt.Format "2006-01-02 15:04:05" }}
								</span>
                                            <span class="aux-word">
									<i class="layui-icon layui-extend-liulanqi"></i>{{ .Browser }}
								</span>
                                            <a class="btn-reply" href="javascript:;">回复</a>
                                        </p>
                                        <div class="replycontainer layui-hide">
                                            <form class="layui-form blog-editor" lay-filter="formReply">
                                                <textarea id="reply-{{ .Id }}" style="resize: none;" name="content" placeholder="请输入评论内容" class="layui-textarea"></textarea>
                                                <button type="button" onclick="addReply({{ .Id }}, {{ $CommentId }}, {{ .SUserId }}, 'reply')" class="layui-btn layui-btn-sm" lay-submit lay-filter="formReply">提交</button>
                                            </form>
                                        </div>
                                    </div>
                                {{ end }}
                            </li>
                        {{ end }}
                    </ul>
					<div id="page" data-count="{{ .dataCount }}"></div>
				</div>
			</div>
		</div>
		
		<script src="../static/js/side-bar.js"></script>
		<script src="../static/js/MessageBoard.js"></script>

		<!-- InstanceEndEditable -->    
    </section>
   <footer>
     <p><a href="http://fdevops.com">Copyright &copy; 2019. Mr. Lan All rights reserved.</a></p>
    </footer>
    <div id="suspension">
        <div class="livechat-girl animated">
          <img class="girl" src="../static/images/a.png" oncontextmenu="return false;" ondragstart="return false;">
            <div class="livechat-hint rd-notice-tooltip rd-notice-type-success rd-notice-position-left single-line show_hint">
                <div class="rd-notice-content">嘿，来试试登录吧！</div>
            </div>
            <div class="animated-circles">
                <div class="circle c-1"></div>
                <div class="circle c-2"></div>
                <div class="circle c-3"></div>
            </div>
        </div>
    </div>
    <!-- 打字机特效js-->
<script src="../static/js/typewriter-special-effects.js"></script>
<script src="../static/js/Template.js"></script>
<!-- 这个JS展示公告层用的，无关紧要可以删掉。 -->

</body>
<!-- InstanceEnd --></html>